package cn.hsw.component.data.page;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 分页信息默认值
 * @author 李子木
 */
@Data
@ConfigurationProperties(prefix = "hsw.page")
@Configuration
public class PageConfig {

    private Integer page = 1;

    private Integer size = 10;
}
